﻿using System;
using System.Collections.Generic;
using System.Net;
using System.Text;

namespace Syspetro.Core.ErrorException
{
    public interface IErrorException
    {
        public bool IsDetails { get;}
        public HttpStatusCode Code() => HttpStatusCode.InternalServerError;
        public string Message() => "未定义的异常";
    }
}
